// 接收来自content script的消息
chrome.runtime.onMessage.addListener((request, sender, sendResponse) => {
    if (request.action === "openLogin") {
        // 打开登录弹窗
        chrome.action.openPopup();
    }
});
